﻿using MediatR;
using RearLivestock.Common.Domains.wbx;
using RearLivestock.Common.Dtos;

namespace RearLivestock.RBAC.Api.Application.wbxApplication.Commands.Role
{
    public class SearchRoleCommand : IRequest<Result<PageResultDto<Roles>>>
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RolesName { get; set; } = string.Empty;
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页显示的数量
        /// </summary>
        public int PageSize { get; set; }
    }
}
